
public class Sample 
{
    
    public static void main()
    {
    
    MapSquare[][] map = new MapSquare[15][15];


    for(int i = 0; i < 15; i++)
    {
        for(int j = 0; j < 15; j++)
        {
            if((i==0||j==0||i==14||j==14)&&(i!=6&&j!=6))
            {
                //create a new object at (i,j)
                map[i][j].gameObject = BoundaryCreator.rock(i, j);
                
                // I'm still deciding whether or not to store the position of
                // the objects within the object itself, or to use the 
                // position that corresponds to the map array
                // for now, though, i don't feel like changing all the code around
                // and you'll need to include the position in the creator as well
            }
        }
    }

    // this will create a map with aboundaryy of rocks with exits at the mid points

    
    }
}
